$(document).ready(function(){
	//监听鼠标滚轮事件
	$(document).on("mousewheel DOMMouseScroll", function (e) {
		//滚轮方向
		var delta;
		//滚动距离
		var distance;
		if (e.originalEvent.wheelDelta) {
		  delta = e.originalEvent.wheelDelta / 120;
		  distance = Math.abs(e.originalEvent.wheelDelta);
		} else if (e.originalEvent.detail) {
		  delta = -e.originalEvent.detail / 3;
		  distance = Math.abs(e.originalEvent.detail) * 40;
		}    

	})
	
})